package sz.szsmk.citizencard.mvp.contract;

import sz.szsmk.citizencard.model.network.bean.response.SearchViewResponse;
import sz.szsmk.citizencard.ui.base.IBaseContact;

/**
 * Copyright (c)2018
 * author: zdh
 * created on: 2018/5/22 15:42
 * description:
 */
public interface ISearchContact {

    interface ISearchPresenter<T extends IBaseContact.IBaseView>
            extends IBaseContact.IBasePresenter {
        void getSearchData(String s);
    }

    interface ISearchView extends IBaseContact.IBaseView {

        // 获得数据失败
        void updataError(String message);

        // 获得数据成功
        void updataSuccess(SearchViewResponse response);
    }


}
